import 'package:flutter_test/flutter_test.dart';

main() {
  //
  test("testParttern", () {
    var names = List<String>();
    names.addAll(['Seth', 'Kathy', 'Lars']);
    print(names is List<String>); // true

    var names2 = List<num>();
    names2.addAll([1.0, 1, 3]);
    print(names2 is List); // true
    print(names2 is List<num>); // true
  });
}
